/**
 * 
 */
package com.globallogic.training.university.people;

import java.util.Date;

/**
 * Class <code>Student</code> represents a student of University
 * @author vasiliy.kulgaviy
 *
 */
public class Student extends Person {
	private int grade = -1;
	
	/**
	 * Constructs a student with defined First Name, Last Name and Birth Date
	 * @param firstName the first name of the new student
	 * @param lastName the last name of the new student
	 * @param birthDate the birth date of the new student
	 */
	public Student(String firstName, String lastName, Date birthDate) {
		super(firstName, lastName, birthDate);
	}
	
	/**
	 * Returns the grade of the student
	 * @return the grade of the student
	 */
	public int getGrade() {
		return grade;
	}
	
	/**
	 * Sets the grade of the student
	 */
	public void setGrade(int grade) {
		this.grade = grade;
	}
}
